{% extends "base.html" %}

{% block title %}
Contato
{% endblock title %}

{% block extrahead %}

{% endblock extrahead %}

{% block content %}
        <h1>{{texto.titulo}}</h1>
        <p>{{texto.texto}}</p>
        <br>
        <form action="/contato/" method="POST">
	    <table class="simple_table">
	    {% for field in contato_form %}
		    <tr>
			<th>
			    {{ field.label_tag }} :
			</th>
			<td>
			    {{ field }}
			</td>
		    </tr>
		    {% if field.errors %}
		    <tr>
			<th>{{ field.errors }}</th>
		    </tr>
		    {% endif %}
	    {% endfor %}
		<tr>
		    <td><input class="botao" type="submit" value="Enviar" /></td>
		</tr>
	    </table>
	</form>
{% endblock content %}